class CatsEntity {
	int code;
	List<CatsData> data;

	CatsEntity({this.code, this.data});

	CatsEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		if (json['data'] != null) {
			data = new List<CatsData>();(json['data'] as List).forEach((v) { data.add(new CatsData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class CatsData {
	List<CatsDataData> data;
	String letter;

	CatsData({this.data, this.letter});

	CatsData.fromJson(Map<String, dynamic> json) {
		if (json['data'] != null) {
			data = new List<CatsDataData>();(json['data'] as List).forEach((v) { data.add(new CatsDataData.fromJson(v)); });
		}
		letter = json['letter'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		data['letter'] = this.letter;
		return data;
	}
}

class CatsDataData {
	String imgs;
	String name;
	String en;
	int id;

	CatsDataData({this.imgs, this.name, this.en, this.id});

	CatsDataData.fromJson(Map<String, dynamic> json) {
		imgs = json['imgs'];
		name = json['name'];
		en = json['en'];
		id = json['id'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['imgs'] = this.imgs;
		data['name'] = this.name;
		data['en'] = this.en;
		data['id'] = this.id;
		return data;
	}
}
